package org.jeecg.modules.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.common.system.vo.LoginUser;
import org.jeecg.modules.system.entity.SysOperationLog;

import java.io.Serializable;
import java.util.Collection;
import java.util.List;

/**
 * @Description: 操作日记
 * @Author: jeecg-boot
 * @Date:   2020-09-22
 * @Version: V1.0
 */
public interface ISysOperationLogService extends IService<SysOperationLog> {

	/**
	 * 添加一对多
	 * 
	 */
	public void saveMain(SysOperationLog sysOperationLog) ;
	
	/**
	 * 修改一对多
	 * 
	 */
	public void updateMain(SysOperationLog sysOperationLog);
	
	/**
	 * 删除一对多
	 */
	public void delMain(String id);
	
	/**
	 * 批量删除一对多
	 */
	public void delBatchMain(Collection<? extends Serializable> idList);


	public void addLog(String logContent, Integer logType, Integer operatetype, LoginUser user) ;
	
}
